package com.yuhs.zixing.study.design.pattern.dp002.structural.s002.bridge.b003;

/**
 * @description:
 * @author: yuhs
 * @date: 2022/5/1 6:16 PM
 */
public class RefinedAbstraction extends Abstraction {
    //覆写构造函数
    public RefinedAbstraction(Implementor _imp) {
        super(_imp);
    }

    //修正父类的行为
    @Override
    public void request() {
        /*
         * 业务处理...
         */
        super.request();
        super.getImp().doAnything();
    }
}
